package com.mdlib.helper.ui.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ljlib.help.R;
import com.mdlib.helper.model.entity.SelectEntity;

import java.util.List;

/**
 * 作者：HQY on 16/12/8 15:26
 * 邮箱：hqy_xz@126.com
 */

public class SelectAdapter extends BaseQuickAdapter<SelectEntity> {

    public SelectAdapter(List<SelectEntity> data) {
        super(R.layout.item_select_title, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, SelectEntity s) {
        baseViewHolder.setText(R.id.tv_select_name, s.getTitle());
    }
}
